[INFO] cloning repository https://github.com/astherath/turbogrep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/astherath/turbogrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastherath%2Fturbogrep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastherath%2Fturbogrep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c12dbb3563d51979d4a229ccbc6928fbe3c4e497
[INFO] checking astherath/turbogrep against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastherath%2Fturbogrep" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/astherath/turbogrep on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/astherath/turbogrep
[INFO] finished tweaking git repo https://github.com/astherath/turbogrep
[INFO] tweaked toml for git repo https://github.com/astherath/turbogrep written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/astherath/turbogrep already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 20037867647a36d6e5109a6b51e6920d0961ab92927f11a901995848ab4e57ad
[INFO] running `Command { std: "docker" "start" "-a" "20037867647a36d6e5109a6b51e6920d0961ab92927f11a901995848ab4e57ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "20037867647a36d6e5109a6b51e6920d0961ab92927f11a901995848ab4e57ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20037867647a36d6e5109a6b51e6920d0961ab92927f11a901995848ab4e57ad", kill_on_drop: false }`
[INFO] [stdout] 20037867647a36d6e5109a6b51e6920d0961ab92927f11a901995848ab4e57ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a056593454ba420ccc5679c21c7c460c8319f6aa0356b7d18e1588ce6269e990
[INFO] running `Command { std: "docker" "start" "-a" "a056593454ba420ccc5679c21c7c460c8319f6aa0356b7d18e1588ce6269e990", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking turbogrep v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::commons`
[INFO] [stdout]  --> tests/dir_walker.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::commons::unwrap_and_check_ok;
[INFO] [stdout]   |            ^^^^^^^ could not find `commons` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_file_paths_that_match_expr` in this scope
[INFO] [stdout]  --> tests/dir_walker.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |         get_file_paths_that_match_expr(expr, &init_path),
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_file_paths_that_match_expr` in this scope
[INFO] [stdout]  --> tests/dir_walker.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |         get_file_paths_that_match_expr(expr, &init_path),
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_file_paths_that_match_expr` in this scope
[INFO] [stdout]   --> tests/dir_walker.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         get_file_paths_that_match_expr(expr, &init_path),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_file_paths_that_match_expr` in this scope
[INFO] [stdout]   --> tests/dir_walker.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         get_file_paths_that_match_expr(expr, &init_path),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> tests/dir_walker.rs:28:33
[INFO] [stdout]    |
[INFO] [stdout] 28 |     files.into_iter().for_each(|path| {
[INFO] [stdout]    |                                 ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `Path`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout] note: required because it appears within the type `Path`
[INFO] [stdout]   --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/std/src/path.rs:1992:12
[INFO] [stdout]    = help: unsized fn params are gated as an unstable feature
[INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size
[INFO] [stdout]    |
[INFO] [stdout] 28 |     files.into_iter().for_each(|&path| {
[INFO] [stdout]    |                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> tests/dir_walker.rs:28:33
[INFO] [stdout]    |
[INFO] [stdout] 28 |     files.into_iter().for_each(|path| {
[INFO] [stdout]    |                                 ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `Path`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout] note: required because it appears within the type `Path`
[INFO] [stdout]   --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/std/src/path.rs:1992:12
[INFO] [stdout]    = help: unsized fn params are gated as an unstable feature
[INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size
[INFO] [stdout]    |
[INFO] [stdout] 28 |     files.into_iter().for_each(|&path| {
[INFO] [stdout]    |                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `turbogrep` (test "dir_walker") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `turbogrep` (test "mod") due to 4 previous errors
[INFO] [stdout] error[E0599]: `Option<String>` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/file_changes.rs:17:41
[INFO] [stdout]    |
[INFO] [stdout] 17 |             new: user_input.replacement.to_string(),
[INFO] [stdout]    |                                         ^^^^^^^^^ `Option<String>` cannot be formatted with the default formatter
[INFO] [stdout]   --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/option.rs:563:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: doesn't satisfy `Option<String>: ToString`
[INFO] [stdout]    |
[INFO] [stdout]    = note: doesn't satisfy `Option<String>: std::fmt::Display`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Option<String>: std::fmt::Display`
[INFO] [stdout]            which is required by `Option<String>: ToString`
[INFO] [stdout] note: the method `to_string` exists on the type `String`
[INFO] [stdout]   --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/alloc/src/string.rs:2502:5
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `String` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 17 |             new: user_input.replacement.expect("REASON").to_string(),
[INFO] [stdout]    |                                        +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Option<String>` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/file_changes.rs:17:41
[INFO] [stdout]    |
[INFO] [stdout] 17 |             new: user_input.replacement.to_string(),
[INFO] [stdout]    |                                         ^^^^^^^^^ `Option<String>` cannot be formatted with the default formatter
[INFO] [stdout]   --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/option.rs:563:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: doesn't satisfy `Option<String>: ToString`
[INFO] [stdout]    |
[INFO] [stdout]    = note: doesn't satisfy `Option<String>: std::fmt::Display`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Option<String>: std::fmt::Display`
[INFO] [stdout]            which is required by `Option<String>: ToString`
[INFO] [stdout] note: the method `to_string` exists on the type `String`
[INFO] [stdout]   --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/alloc/src/string.rs:2502:5
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `String` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 17 |             new: user_input.replacement.expect("REASON").to_string(),
[INFO] [stdout]    |                                        +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `turbogrep` (bin "turbogrep") due to 2 previous errors
[INFO] [stderr] error: could not compile `turbogrep` (bin "turbogrep" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "a056593454ba420ccc5679c21c7c460c8319f6aa0356b7d18e1588ce6269e990", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a056593454ba420ccc5679c21c7c460c8319f6aa0356b7d18e1588ce6269e990", kill_on_drop: false }`
[INFO] [stdout] a056593454ba420ccc5679c21c7c460c8319f6aa0356b7d18e1588ce6269e990
